Claude Platform CLI

by Anthropic PBC

Free Download 1 Visit Website

Versions:

  • 1.32.0
  • 1.31.0
  • 1.30.0
  • 1.29.0
  • 1.28.0
  • 1.27.0
  • 1.26.1
  • 1.25.0
  • 1.24.0
  • 1.23.0
  • 1.22.1
  • 1.22.0
  • 1.21.0
  • 1.20.0
  • 1.19.0
  • 1.18.0
  • 1.17.0
  • 1.16.0
  • 1.15.0
  • 1.14.0
  • 1.13.0
  • 1.12.2
  • 1.12.1
  • 1.10.0

Claude Platform CLI is a command-line tool published by Anthropic PBC that provides direct access to the Claude API from a terminal through the `ant` command. Currently at version 1.32.0, with a total of 24 versions released, the tool falls into the developer tools and API client category, serving as an alternative to interacting with the Claude API through raw HTTP requests. Every API resource is exposed as a subcommand, and the CLI includes output formatting, response filtering, and support for YAML or JSON file input, making it suitable for both interactive exploration and scripted automation workflows. Compared to calling the API with curl, the tool offers several practical conveniences: request bodies can be built from typed flags or piped YAML instead of hand-written JSON, file contents can be inlined into string fields using an `@path` reference, and fields can be extracted from responses with a built-in `--transform` query, eliminating the need for separate JSON processing tools. Additionally, list endpoints paginate automatically, simplifying work with large result sets. Typical use cases include testing and exploring Claude API endpoints during development, integrating API calls into shell scripts and automation pipelines, and performing quick one-off requests without writing dedicated client code. Because each API resource maps to a subcommand with structured input and output handling, the tool streamlines common tasks that would otherwise require manual JSON construction and parsing. Claude Code, Anthropic's agentic coding tool, understands how to use the CLI natively, allowing it to invoke API operations as part of its workflows. This native integration, combined with the CLI's scripting-friendly design, positions it as a foundational utility for developers building on or administering the Claude platform from the command line.

Tags: